@font-face {
  font-family: 'icomoon';
  src: url('../fonts/icomoon.eot?bbcv7x');
  src: url('../fonts/icomoon.eot?bbcv7x#iefix') format('embedded-opentype'), url('../fonts/icomoon.ttf?bbcv7x') format('truetype'), url('../fonts/icomoon.woff?bbcv7x') format('woff'), url('../fonts/icomoon.svg?bbcv7x#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
}

body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, input, textarea, p, blockquote, th, td, hr, button, article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  font-size: 10px;
  width: 100%;
  height: 100%;
  -webkit-tap-highlight-color: transparent
}

body {
  width: 100%;
  height: 100%;
  font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.42857143;
}

//body, html {
//  height: 100%;
//  >div{
//    height: 100%;
//  }
//}

a {
  text-decoration: none;
  &:focus{
    color: #000;
  }
}

li {
  list-style: none;
}

.cf:after {
  display: block;
  clear: both;
  content: "";
  visibility: hidden;
  height: 0;
}

.cf {
  zoom: 1;
}

.fl {
  float: left !important;
}

.fr {
  float: right !important;
}

/* function*/
.f-dn {
  display: none;
}

.f-db {
  display: block;
}

.f-dib {
  display: inline-block;
}

.f-pr {
  position: relative;
}

.f-oh {
  overflow: hidden;
}

.icon {
  font-size: 10px;
}

.f-fs12 {
  font-size: 12px;
}

.f-fs14 {
  font-size: 14px;
}

.f-fs16 {
  font-size: 16px;
}

.f-fs18 {
  font-size: 18px;
}

.f-fs20 {
  font-size: 20px;
}

.f-fs24 {
  font-size: 24px;
}

.f-fs26 {
  font-size: 26px;
}

.f-fs28 {
  font-size: 28px;
}

.f-fs30 {
  font-size: 30px;
}

.f-fs36 {
  font-size: 36px;
}

.f-fs48 {
  font-size: 48px;
}

.f-fs60 {
  font-size: 60px;
}

.f-fwn {
  font-weight: normal;
}

.f-fwb {
  font-weight: bold;
}

.f-tal {
  text-align: left;
}

.f-tac {
  text-align: center;
}

.f-tar {
  text-align: right;
}

.f-toe {
  overflow: hidden;
  word-wrap: normal;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.f-csp {
  cursor: pointer;
}

.f-usn {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
}

h1 {
  font-size: 36px;
}

h2 {
  font-size: 30px;
}

h3 {
  font-size: 24px;
}

h4 {
  font-size: 18px;
}

h5 {
  font-size: 14px;
}

h6 {
  font-size: 12px;
}

.mt8 {
  margin-top: 8px;
}

.mr {
  margin-right: 10px;
}

.mr20 {
  margin-right: 20px;
}

.mb {
  margin-bottom: 10px;
}

.mb15 {
  margin-bottom: 15px;
}

.mtt200 {
  margin-top: -200px
}

.mt20 {
  margin-top: 20px;
}

.s-b7 {
  background-color: #fff;
}
.s-c8 {
  color: #47a6ff;
}

.s-c9 {
  color: #94cbff;
}

/*格子百分比*/
.wrapper {
  margin: 0 auto;
  margin-bottom: 20px;
  padding: 15px 15px 0 15px;
  clear: both;
  height: auto;

  .wrapper-head {
    margin-bottom: 15px;
  }
}
.yui-border-box, .yui-border-box * {
  -webkit-box-sizing: border-box !important;
  -moz-box-sizing: border-box !important;
  box-sizing: border-box !important
}
.yui-col-6{
  float: left;
}
.yui-col-6{
  width: 50%;
}

.item .value, .item .title {
  margin: 0;
  padding-right: 10px;
  float: left;
  color: #000;
}

.item .title {
  color: #787878;
}

/*按钮*/
.btn {
  display: inline-block;
  height: 38px;
  line-height: 38px;
  padding: 0 18px;
  background-color: #009688;
  color: #fff;
  white-space: nowrap;
  text-align: center;
  font-size: 14px;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  opacity: .9;
  filter: alpha(opacity=90)
}

.btn:hover {
  opacity: .8;
  filter: alpha(opacity=80);
  color: #fff
}

.btn:active {
  opacity: 1;
  filter: alpha(opacity=100)
}

.btn + .btn {
  margin-left: 10px
}

.btn-radius {
  border-radius: 100px
}

.btn .icon {
  font-size: 18px;
  vertical-align: text-bottom;
}

.btn-primary {
  border: 1px solid #C9C9C9;
  background-color: #fff;
  color: #555
}

.btn-primary:hover {
  border-color: #009688;
  color: #333
}

.btn-normal {
  background-color: #1E9FFF
}

.btn-warm {
  background-color: #F7B824
}

.btn-danger {
  background-color: #FF5722
}

.btn-disabled, .btn-disabled:active, .btn-disabled:hover {
  border: 1px solid #e6e6e6;
  background-color: #FBFBFB;
  color: #C9C9C9;
  cursor: not-allowed;
  opacity: 1
}

.btn-big {
  height: 44px;
  line-height: 44px;
  padding: 0 25px;
  font-size: 16px
}

.btn-small {
  height: 30px;
  line-height: 30px;
  padding: 0 10px;
  font-size: 12px
}

.btn-small i {
  font-size: 16px !important
}

.btn-mini {
  height: 22px;
  line-height: 22px;
  padding: 0 5px;
  font-size: 12px
}

.btn-mini i {
  font-size: 14px !important
}

.btn-group {
  display: inline-block;
  vertical-align: middle;
  font-size: 0
}

.btn-group .btn {
  margin-left: 0 !important;
  margin-right: 0 !important;
  border-left: 1px solid rgba(255, 255, 255, .5);
  border-radius: 0
}

.btn-group .btn-primary {
  border-left: none
}

.btn-group .btn-primary:hover {
  border-color: #C9C9C9;
  color: #009688
}

.btn-group .btn:first-child {
  border-left: none;
  border-radius: 2px 0 0 2px
}

.btn-group .btn-primary:first-child {
  border-left: 1px solid #c9c9c9
}

.btn-group .btn:last-child {
  border-radius: 0 2px 2px 0
}

.btn-group .btn + .btn {
  margin-left: 0
}

.btn-group + .btn-group {
  margin-left: 10px
}

/*form*/
.form-group {
  &.a {
    .control-label {
      width: 100px;
    }
  ;
    .controls {
      margin-left: 100px;
    }
  ;
  }
  &.b {
    .control-label {
      width: 100px;
    }
  ;
    .controls {
      margin-left: 110px;
    }
  ;
  }
  &.c {
    .control-label {
      margin-left: 110px;
    }
  ;
    .controls {
      margin-left: 110px;
    }
  ;
    button[type=submit] {
      margin-left: 110px;
    }
  }
}

.form-horizontal {
  .form-group {
    margin: 10px 0;
  }
}

.form-horizontalb {
  .form-group {
    margin: 10px 0;
    .control-label, .controls {
      float: none;
      display: block;
      text-align: left;
    }
  ;
  }
  &.wauto .m-wrap {
    width: auto;
  }
  &.wblock .m-wrap {
    width: 100%;
  }
}

.form-vertical {
  .form-group {
    float: left;
    margin: 10px 0;
  }
}

.control-label {
  float: left;
  padding-top: 6px;
  margin-right: 10px;
  text-align: right;
  margin-bottom: 5px;
  margin-top: 2px;
  color: #787878;
  &.w160 {
    width: 160px;
  }
}

/*图标*/
[class^="icon-"], [class*=" icon-"] {

  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'icomoon' !important;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1; /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon18 {
  font-size: 18px;
}

.icon-001:before {
  content: "\e918";
}

.icon-002:before {
  content: "\e919";
}

.icon-003:before {
  content: "\e91a";
}

.icon-004:before {
  content: "\e91b";
}

.icon-005:before {
  content: "\e91c";
}

.icon-006:before {
  content: "\e900";
}

.icon-007:before {
  content: "\e901";
}

.icon-008:before {
  content: "\e902";
}

.icon-009:before {
  content: "\e903";
}

.icon-010:before {
  content: "\e904";
}

.icon-011:before {
  content: "\e905";
}

.icon-012:before {
  content: "\e906";
}

.icon-013:before {
  content: "\e907";
}

.icon-014:before {
  content: "\e908";
}

.icon-015:before {
  content: "\e909";
}

.icon-016:before {
  content: "\e90a";
}

.icon-017:before {
  content: "\e90b";
}

.icon-018:before {
  content: "\e90c";
}

.icon-019:before {
  content: "\e90d";
}

.icon-020:before {
  content: "\e90e";
}

.icon-021:before {
  content: "\e90f";
}

.icon-022:before {
  content: "\e910";
}

.icon-023:before {
  content: "\e911";
}

.icon-024:before {
  content: "\e912";
}

.icon-025:before {
  content: "\e913";
}

.icon-026:before {
  content: "\e914";
}

.icon-027:before {
  content: "\e915";
}

.icon-028:before {
  content: "\e916";
}

.icon-029:before {
  content: "\e917";
}

.icon-030:before {
  content: "\e91d";
}

.icon-031:before {
  content: "\e91e";
}

.icon-032:before {
  content: "\e91f";
}

.icon-033:before {
  content: "\e920";
}

.icon-034:before {
  content: "\e921";
}

.icon-035:before {
  content: "\e922";
}

.icon-036:before {
  content: "\e923";
}

.icon-037:before {
  content: "\e924";
}

.icon-038:before {
  content: "\e925";
}

.icon-039:before {
  content: "\e926";
}

.icon-040:before {
  content: "\e927";
}

.icon-041:before {
  content: "\e928";
}

.icon-042:before {
  content: "\e929";
}

.icon-043:before {
  content: "\e92a";
}

.icon-044:before {
  content: "\e92b";
}

.icon-045:before {
  content: "\e92c";
}

.icon-046:before {
  content: "\e92f";
}

.icon-047:before {
  content: "\e92d";
}

.icon-048:before {
  content: "\e92e";
}

.icon-049:before {
  content: "\e930";
}

.icon-050:before {
  content: "\e931";
}

.icon-051:before {
  content: "\e932";
}

.icon-052:before {
  content: "\e933";
}

.icon-053:before {
  content: "\e934";
}

.icon-054:before {
  content: "\e935";
}

.icon-055:before {
  content: "\e936";
}

.icon-056:before {
  content: "\e937";
}

.icon-057:before {
  content: "\e938";
}

.icon-058:before {
  content: "\e939";
}

.icon-059:before {
  content: "\e93a";
}

.icon-060:before {
  content: "\e93b";
}

.icon-061:before {
  content: "\e93c";
}

.icon-062:before {
  content: "\e93d";
}

.icon-063:before {
  content: "\e93e";
}

.icon-064:before {
  content: "\e93f";
}

.icon-065:before {
  content: "\e940";
}

.loading {
  &.active {
    display: block;
  }
  display: none;
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid #faebcc;
  border-radius: 4px;
  position: absolute;
  top: 10px;
  left: 50%;
  z-index: 101;
  background-color: #fcf8e3;
  color: #000;
  -webkit-box-shadow: 0 0 10px 0 #faecbc;
  -moz-box-shadow: 0 0 10px 0 #faecbc;
  box-shadow: 0 0 10px 0 #faecbc;
  font-weight: bold;
}

table {
  thead {
    background-color: #f2f5fa;

    th {
      border-top: 1px solid #f2f5fa;
    }
  }
  tbody {
    tr {
      td {
        border-top: 1px solid #f2f5fa;
      }
      &:hover {
        background: #f0f8ff;
      }
    }
  }
}

/*input text*/
.m-wraptext {
  height: 22px;
  padding: 6px 6px;
  line-height: 24px;
  font-size: 14px;
  font-weight: normal;
  vertical-align: top;
  color: #333333;
  outline: 0;
  display: inline-block;
}

/*input*/
textarea, input{
  -webkit-appearance: none !important;
  color: #333333;
  outline: 0;
  width: 100%;
  padding: 6px 6px;
  line-height: 20px;
  font-size: 14px;
  font-weight: normal;
  vertical-align: top;
  background-color: #ffffff;
  background-image: none !important;
  filter: none !important;
  -webkit-box-shadow: none !important;
  -moz-box-shadow: none !important;
  box-shadow: none !important;
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  border-radius: 3px;
}

input.m-wrap {
  height: 32px;
  border: 1px solid #e5e5e5;
}

input[type="text"].m-wrap:focus, input[type="password"].m-wrap:focus, input[type="datetime"].m-wrap:focus, input[type="datetime-local"].m-wrap:focus, input[type="date"].m-wrap:focus, input[type="month"].m-wrap:focus, input[type="time"].m-wrap:focus, input[type="week"].m-wrap:focus, input[type="number"].m-wrap:focus, input[type="email"].m-wrap:focus, input[type="url"].m-wrap:focus, input[type="search"].m-wrap:focus, input[type="tel"].m-wrap:focus, input[type="color"].m-wrap:focus {
  //border-color: #3997ef;
  outline: 0 !important; /* IE6-9 */
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}

select.m-wrap, input[type="file"].m-wrap {
  height: 34px !important; /* In IE7, the height of the select element cannot be changed by height, only font-size */
  *margin-top: 4px; /* For IE7, add top margin to align select with labels */
  line-height: 30px;
}

select.m-wrap {
  width: 220px;
  background-color: #ffffff;
  background-image: none !important;
  filter: none !important;
  border: 1px solid #e5e5e5;
  outline: none;
}

select.m-wrap:focus, input[type="file"].m-wrap:focus, input[type="radio"].m-wrap:focus, input[type="checkbox"].m-wrap:focus {
  outline: thin dotted #333333;
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px;
  -webkit-box-shadow: none !important;
  -moz-box-shadow: none !important;
  box-shadow: none !important;
}

.m-wrap.xsmall {
  width: 50px !important;
}

.m-wrap.small {
  width: 120px;
}

.m-wrap.medium {
  width: 206px;
}

.m-wrap.large {
  width: 320px;
}

.yui-input-small {
  font-size: 12px;
  padding: 1px 7px;
  height: 24px;
}

.yui-input-large {
  font-size: 18px;
  height: 36px;
  line-height: 36px;
}
.yui-input-wrapper {
  display: inline-block;
  width: 100%;
  position: relative;
  vertical-align: middle;
}
.yui-input-icon {
  width: 32px;
  height: 32px;
  line-height: 32px;
  font-size: 16px;
  text-align: center;
  color: #9ea7b4;
  position: absolute;
  right: 0;
  z-index: 3;
}
.yui-input-icon-normal+.yui-input{
  padding-right: 32px;
}
.yui-input-group {
  display: table;
  width: 100%;
  border-collapse: separate;
  position: relative;
  font-size: 12px;
  top: 1px;
}
.yui-input-group-append, .yui-input-group-prepend {
  width: 1px;
  white-space: nowrap;
  vertical-align: middle;
  padding: 4px 7px;
  font-size: inherit;
  font-weight: 400;
  line-height: 1;
  color: #657180;
  text-align: center;
  background-color: #eee;
  border: 1px solid #d7dde4;
  border-radius: 6px;
}
.yui-input-group-append {
  border-left: 0;
  border-bottom-left-radius: 0;
  border-top-left-radius: 0;
}
.yui-input-group-prepend {
  border-right: 0;
  border-bottom-right-radius: 0;
  border-top-right-radius: 0;
}
.yui-input-group-append, .yui-input-group-prepend, .yui-input-group>.yui-input {
  display: table-cell;
}
/* 下拉选择框 */
.yui-select{
  display: inline-block;
  width: 100%;
  box-sizing: border-box;
  vertical-align: middle;
  color: #657180;
  font-size: 14px;
  line-height: normal;
  .yui-select-selection {
    height: 32px;
    position: relative;
  }
  .yui-select-arrow {
    position: absolute;
    top: 50%;
    right: 8px;
    line-height: 1;
    margin-top: -7px;
    font-size: 14px;
    color: #9ea7b4;
    transition: all .2s ease-in-out;
  }
  .yui-select-placeholder,.yui-select-selected-value{
    display: block;
    height: 32px;
    line-height: 32px;
    font-size: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-left: 8px;
    padding-right: 24px;
  }
  .yui-select-placeholder{
    color:#c3cbd6;
  }
}
.yui-select-item {
  margin: 0;
  padding: 7px 16px;
  clear: both;
  color: #657180;
  font-size: 12px!important;
  white-space: nowrap;
  list-style: none;
  cursor: pointer;
  transition: background .2s ease-in-out;
}
.yui-select-item-focus,.yui-select-item:hover {
  background: #f3f3f3
}

.yui-select-item-disabled,.yui-select-item-disabled:hover {
  color: #c3cbd6;
  cursor: not-allowed
}

.yui-select-item-disabled:hover {
  background-color: #fff
}

.yui-select-item-selected,.yui-select-item-selected:hover {
  color: #fff;
  background: rgba(51,153,255,.9)
}

.yui-select-item-selected.yui-select-item-focus {
  background: rgba(45,135,225,.91)
}

.yui-select-item-divided {
  margin-top: 5px;
  border-top: 1px solid #e3e8ee
}

.yui-select-item-divided:before {
  content: "";
  height: 5px;
  display: block;
  margin: 0 -16px;
  background-color: #fff;
  position: relative;
  top: -7px
}


.yui-select-dropdown {
  width: inherit;
  max-height: 200px;
  overflow: auto;
  margin: 5px 0;
  padding: 5px 0;
  background-color: #fff;
  box-sizing: border-box;
  border-radius: 4px;
  box-shadow: 0 1px 6px rgba(0,0,0,.2);
  position: absolute;
  z-index: 900;
}

.main-wrapper {
  padding-top: 50px;
  height: 100%;
  position: relative;
  margin-left: 140px;
}

/*tab系列*/
.yui-elem-quote {
  margin-bottom: 10px;
  padding: 15px;
  line-height: 22px;
  border-left: 5px solid #009688;
  border-radius: 0 2px 2px 0;
  background-color: #f2f2f2;
}

.yui-elem-field {
  margin-bottom: 10px;
  padding: 0;
  border: 1px solid #e2e2e2
}

.yui-elem-field legend {
  margin-left: 20px;
  padding: 0 10px;
  font-size: 20px;
  font-weight: 300
}

.yui-field-title {
  margin: 10px 0 20px;
  border: none;
  border-top: 1px solid #e2e2e2
}

.yui-field-box {
  padding: 10px 15px
}

.yui-field-title .yui-field-box {
  padding: 10px 0
}

.yui-show {
  display: block !important;
}
.drop-body-item{
  display: none;
}
.yui-tab {
  text-align: left !important
}

.yui-tab-title {
  position: relative;
  left: 0;
  height: 40px;
  white-space: nowrap;
  font-size: 0;
  border-bottom: 1px solid #e2e2e2;
  transition: all .2s;
  -webkit-transition: all .2s;
  li {
    display: inline-block;
    *display: inline;
    *zoom: 1;
    vertical-align: middle;
    font-size: 14px;
    transition: all .2s;
    -webkit-transition: all .2s;
    position: relative;
    line-height: 40px;
    min-width: 65px;
    padding: 0 10px;
    cursor: pointer;
    a {
      display: block
    }

  }
  .yui-this {
    color: #000;
    &:after {
      position: absolute;
      left: 0;
      top: 0;
      content: '';
      width: 100%;
      height: 41px;
      border: 1px solid #e2e2e2;
      border-bottom-color: #fff;
      border-radius: 2px 2px 0 0;
      -webkit-box-sizing: border-box !important;
      -moz-box-sizing: border-box !important;
      box-sizing: border-box !important;
      pointer-events: none
    }
  }
}

.yui-tab-bar {
  position: absolute;
  right: 0;
  top: 0;
  z-index: 10;
  width: 30px;
  height: 39px;
  line-height: 39px;
  border: 1px solid #e2e2e2;
  border-radius: 2px;
  background-color: #fff;
  .yui-icon {
    position: relative;
    display: inline-block;
    top: 3px;
    transition: all .3s;
    -webkit-transition: all .3s
  }
}

.yui-tab-item, .yui-util-face .yui-layer-TipsG {
  display: none
}

.yui-tab-more {
  padding-right: 30px;
  height: auto;
  white-space: normal;
  li.yui-this:after {
    border-bottom-color: #e2e2e2;
    border-radius: 2px;
  }
  .yui-tab-bar .yui-icon {
    top: -2px;
    top: 3px \9;
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
  }
}

:root .yui-tab-more .yui-tab-bar .yui-icon {
  top: -2px;
}

.yui-tab-content {
  position: relative;
  padding: 10px;
}

.yui-tab-title li {
  .yui-tab-close {
    position: relative;
    margin-left: 8px;
    top: 1px;
    color: #c2c2c2;
    transition: all .2s;
    -webkit-transition: all .2s;
  }
  .yui-tab-close:hover {
    border-radius: 2px;
    background-color: #FF5722;
    color: #fff;
  }
}

.yui-tab-brief > .yui-tab-title .yui-this {
  color: #009688;
}

.yui-tab-brief > .yui-tab-more li.yui-this:after, .yui-tab-brief > .yui-tab-title .yui-this:after {
  border: none;
  border-radius: 0;
  border-bottom: 3px solid #5FB878;
}

.yui-tab-brief[overflow] > .yui-tab-title .yui-this:after {
  top: -1px;
}

.yui-tab-card {
  border: 1px solid #e2e2e2;
  border-radius: 2px;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .1);

  & > .yui-tab-title {
    background-color: #f2f2f2;
    & > li {
      margin-right: -1px;
      margin-left: -1px;
    }
    & > .yui-tab-title {
      .yui-this {
        background-color: #fff;
      }
      .yui-this:after {
        border-top: none;
        border-width: 1px;
        border-bottom-color: #fff;
      }
      .yui-tab-bar {
        height: 40px;
        line-height: 40px;
        border-radius: 0;
        border-top: none;
        border-right: none;
      }
    }
  }
  &.yui-tab-more {
    .yui-this {
      background: 0 0;
      color: #5FB878;
    }
    .yui-this:after {
      border: none;
    }
  }
}
.yui-fixbar li, .yui-tab-bar, .yui-tab-title li, .yui-util-face ul li {
  cursor: pointer;
  text-align: center;
}

/*form系列*/
.yui-form-item:after {
  //content: '\20';
  //clear: both;
  //display: block;
  //height: 0;
}
.yui-form-item + .yui-form-item {
  margin-top: 15px;
  //clear: both;
}
.yui-formblock + .yui-formblock {
  margin-top: 0;
}

.yui-btn, .yui-inline, img {
  vertical-align: middle;
}

.yui-inline {
  position: relative;
  display: inline-block;
}
.yui-input-block, .yui-input-inline {
  position: relative;
}
.yui-input-inline {
  display: inline-block;
  vertical-align: middle;
}
.yui-form-item .yui-inline {
  margin-bottom: 5px;
  margin-right: 10px;
}

.yui-form-label {
  float: left;
  display: block;
  padding: 9px 15px;
  width: 80px;
  font-weight: 400;
  text-align: right;
  font-size: 14px;
  &.w120{
    width: 120px;
    &+ .yui-input-block{
      margin-left: 150px;
    }
  }
}

.yui-input-block {
  margin-left: 110px;
  min-height: 36px;
}

.yui-btn, .yui-input, .yui-select, .yui-textarea, .yui-upload-button {
  outline: 0;
  //-webkit-transition: border-color .3s cubic-bezier(.65, .05, .35, .5);
  //transition: border-color .3s cubic-bezier(.65, .05, .35, .5);
  //-webkit-box-sizing: border-box !important;
  //-moz-box-sizing: border-box !important;
  //box-sizing: border-box !important;
}

.yui-input, .yui-select, .yui-textarea {
  //height: 38px;
  //line-height: 38px;
  border: 1px solid #e6e6e6;
  background-color: #fff;
  border-radius: 3px;
}

.yui-input, .yui-textarea {
  display: block;
  width: 100%;
  padding-left: 10px;
}

.yui-form-item .yui-input-inline {
  float: left;
  width: 190px;
  margin-right: 10px;
}

.yui-form-label, .yui-form-mid, .yui-textarea {
  line-height: 14px;
  position: relative;
}

.yui-form-mid {
  float: left;
  display: block;
  padding: 8px 0;
  margin-right: 10px;
}

.yui-form-text{
  color: #000;
}

.yui-form input[type=checkbox], .yui-form input[type=radio], .yui-form select {
  display: none;
}
.yui-form-danger+.yui-form-select .yui-input,.yui-form-danger:focus {
  border: 1px solid #FF5722!important
}

.yui-form-select {
  position: relative
}

.yui-form-select .yui-input {
  padding-right: 30px;
  cursor: pointer
}

.yui-form-select .yui-edge {
  position: absolute;
  right: 10px;
  top: 50%;
  margin-top: -3px;
  cursor: pointer;
  border-width: 6px;
  border-top-color: #c2c2c2;
  border-top-style: solid;
  transition: all .3s;
  -webkit-transition: all .3s
}

.yui-form-select dl {
  display: none;
  position: absolute;
  left: 0;
  top: 42px;
  padding: 5px 0;
  z-index: 999;
  min-width: 100%;
  border: 1px solid #d2d2d2;
  max-height: 300px;
  overflow-y: auto;
  background-color: #fff;
  border-radius: 2px;
  box-shadow: 0 2px 4px rgba(0,0,0,.12);
  box-sizing: border-box
}

.yui-form-select dl dd,.yui-form-select dl dt {
  padding: 0 10px;
  line-height: 36px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.yui-form-select dl dt {
  font-size: 12px;
  color: #999
}

.yui-form-select dl dd {
  cursor: pointer
}

.yui-form-select dl dd:hover {
  background-color: #f2f2f2
}

.yui-form-select .yui-select-group dd {
  padding-left: 20px
}

.yui-form-select dl dd.yui-this {
  background-color: #5FB878;
  color: #fff
}

.yui-form-checkbox,.yui-form-select dl dd.yui-disabled {
  background-color: #fff
}

.yui-form-selected dl {
  display: block
}

.yui-form-checkbox,.yui-form-checkbox *,.yui-form-radio,.yui-form-radio *,.yui-form-switch {
  display: inline-block;
  vertical-align: middle
}

.yui-form-selected .yui-edge {
  margin-top: -9px;
  -webkit-transform: rotate(180deg);
  transform: rotate(180deg);
  margin-top: -3px;
}

:root .yui-form-selected .yui-edge {
  margin-top: -9px;
}

.yui-select-none {
  margin: 5px 0;
  text-align: center;
  color: #999
}

.yui-select-disabled .yui-disabled {
  border-color: #eee!important
}

.yui-select-disabled .yui-edge {
  border-top-color: #d2d2d2
}

.yui-form-checkbox {
  position: relative;
  height: 30px;
  line-height: 28px;
  margin-right: 10px;
  padding-right: 30px;
  border: 1px solid #d2d2d2;
  cursor: pointer;
  font-size: 0;
  border-radius: 2px;
  -webkit-transition: .1s linear;
  transition: .1s linear;
  box-sizing: border-box!important
}

.yui-form-checkbox:hover {
  border: 1px solid #c2c2c2
}

.yui-form-checkbox span {
  padding: 0 10px;
  height: 100%;
  font-size: 14px;
  background-color: #d2d2d2;
  color: #fff;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis
}

.yui-form-checkbox:hover span {
  background-color: #c2c2c2
}

.yui-form-checkbox i {
  position: absolute;
  right: 0;
  width: 30px;
  color: #fff;
  font-size: 20px;
  text-align: center
}

.yui-form-checkbox:hover i {
  color: #c2c2c2
}

.yui-form-checked,.yui-form-checked:hover {
  border-color: #5FB878
}

.yui-form-checked span,.yui-form-checked:hover span {
  background-color: #5FB878
}

.yui-form-checked i,.yui-form-checked:hover i {
  color: #5FB878
}

.yui-form-item .yui-form-checkbox {
  margin-top: 4px
}

.yui-form-checkbox[lay-skin=primary] {
  height: auto!important;
  line-height: normal!important;
  border: none!important;
  margin-right: 0;
  padding-right: 0;
  background: 0 0
}

.yui-form-checkbox[lay-skin=primary] span {
  float: right;
  padding-right: 15px;
  line-height: 18px;
  background: 0 0;
  color: #666
}

.yui-form-checkbox[lay-skin=primary] i {
  position: relative;
  top: 0;
  width: 16px;
  line-height: 16px;
  border: 1px solid #d2d2d2;
  font-size: 12px;
  border-radius: 2px;
  background-color: #fff;
  -webkit-transition: .1s linear;
  transition: .1s linear
}

.yui-form-checkbox[lay-skin=primary]:hover i {
  border-color: #5FB878;
  color: #fff
}

.yui-form-checked[lay-skin=primary] i {
  border-color: #5FB878;
  background-color: #5FB878;
  color: #fff
}

.yui-checkbox-disbaled[lay-skin=primary] span {
  background: 0 0!important
}

.yui-checkbox-disbaled[lay-skin=primary]:hover i {
  border-color: #d2d2d2
}

.yui-form-item .yui-form-checkbox[lay-skin=primary] {
  margin-top: 10px
}

.yui-form-switch {
  position: relative;
  height: 22px;
  line-height: 22px;
  width: 42px;
  padding: 0 5px;
  margin-top: 8px;
  border: 1px solid #d2d2d2;
  border-radius: 20px;
  cursor: pointer;
  background-color: #fff;
  -webkit-transition: .1s linear;
  transition: .1s linear
}

.yui-form-switch i {
  position: absolute;
  left: 5px;
  top: 3px;
  width: 16px;
  height: 16px;
  border-radius: 20px;
  background-color: #d2d2d2;
  -webkit-transition: .1s linear;
  transition: .1s linear
}

.yui-form-switch em {
  position: absolute;
  right: 5px;
  top: 0;
  width: 25px;
  padding: 0!important;
  text-align: center!important;
  color: #999!important;
  font-style: normal!important;
  font-size: 12px
}

.yui-form-onswitch {
  border-color: #5FB878;
  background-color: #5FB878
}

.yui-form-onswitch i {
  left: 32px;
  background-color: #fff
}

.yui-form-onswitch em {
  left: 5px;
  right: auto;
  color: #fff!important
}

.yui-checkbox-disbaled {
  border-color: #e2e2e2!important
}

.yui-checkbox-disbaled span {
  background-color: #e2e2e2!important
}

.yui-checkbox-disbaled:hover i {
  color: #fff!important
}

.yui-form-radio {
  line-height: 28px;
  margin: 6px 10px 0 0;
  padding-right: 10px;
  cursor: pointer;
  font-size: 0
}

.yui-form-radio i {
  margin-right: 8px;
  font-size: 22px;
  color: #c2c2c2
}

.yui-form-radio span {
  font-size: 14px
}

.yui-form-radio i:hover,.yui-form-radioed i {
  color: #5FB878
}

.yui-radio-disbaled i {
  color: #e2e2e2!important
}
.site-demo-code {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border: none;
  padding: 0;
  resize: none;
  font-size: 12px;
  background-color: #F7FBFF;
  color: #881280;
  font-family: Courier New;
}

.yui-checkbox {
  display: inline-block;
  vertical-align: middle;
  white-space: nowrap;
  cursor: pointer;
  outline: 0;
  line-height: 1;
  position: relative
}

.yui-checkbox-disabled {
  cursor: not-allowed
}

.yui-checkbox:hover .yui-checkbox-inner {
  border-color: #bcbcbc
}

.yui-checkbox-inner {
  display: inline-block;
  width: 14px;
  height: 14px;
  position: relative;
  top: 0;
  left: 0;
  border: 1px solid #d7dde4;
  border-radius: 2px;
  background-color: #fff;
  transition: border-color .2s ease-in-out,background-color .2s ease-in-out
}

.yui-checkbox-inner:after {
  content: "";
  display: table;
  width: 4px;
  height: 8px;
  position: absolute;
  top: 1px;
  left: 4px;
  border: 2px solid #fff;
  border-top: 0;
  border-left: 0;
  transform: rotate(45deg) scale(0);
  transition: all .2s ease-in-out
}

.yui-checkbox-input {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
  cursor: pointer;
  opacity: 0
}

.yui-checkbox-input[disabled] {
  cursor: not-allowed
}

.yui-checkbox-checked:hover .yui-checkbox-inner {
  border-color: #39f
}

.yui-checkbox-checked .yui-checkbox-inner {
  border-color: #39f;
  background-color: #39f
}

.yui-checkbox-checked .yui-checkbox-inner:after {
  content: "";
  display: table;
  width: 4px;
  height: 8px;
  position: absolute;
  top: 1px;
  left: 4px;
  border: 2px solid #fff;
  border-top: 0;
  border-left: 0;
  transform: rotate(45deg) scale(1);
  transition: all .2s ease-in-out
}

.yui-checkbox-disabled.yui-checkbox-checked:hover .yui-checkbox-inner {
  border-color: #d7dde4
}

.yui-checkbox-disabled.yui-checkbox-checked .yui-checkbox-inner {
  background-color: #f3f3f3;
  border-color: #d7dde4
}

.yui-checkbox-disabled.yui-checkbox-checked .yui-checkbox-inner:after {
  animation-name: none;
  border-color: #ccc
}

.yui-checkbox-disabled:hover .yui-checkbox-inner {
  border-color: #d7dde4
}

.yui-checkbox-disabled .yui-checkbox-inner {
  border-color: #d7dde4;
  background-color: #f3f3f3
}

.yui-checkbox-disabled .yui-checkbox-inner:after {
  animation-name: none;
  border-color: #f3f3f3
}

.yui-checkbox-disabled .yui-checkbox-inner-input {
  cursor: default
}

.yui-checkbox-disabled+span {
  color: #ccc;
  cursor: not-allowed
}

.yui-checkbox-indeterminate .yui-checkbox-inner:after {
  content: "";
  width: 8px;
  height: 1px;
  transform: scale(1);
  position: absolute;
  left: 2px;
  top: 5px
}

.yui-checkbox-indeterminate:hover .yui-checkbox-inner {
  border-color: #39f
}

.yui-checkbox-indeterminate .yui-checkbox-inner {
  background-color: #39f;
  border-color: #39f
}

.yui-checkbox-wrapper {
  cursor: pointer;
  font-size: 12px;
  display: inline-block;
  margin-right: 8px
}

.yui-checkbox-wrapper-disabled {
  cursor: not-allowed
}

.yui-checkbox+span,.yui-checkbox-wrapper+span {
  margin-right: 4px
}

.yui-checkbox-group {
  font-size: 14px
}

.yui-checkbox-group-item,.yui-switch {
  display: inline-block
}

.yui-formblock{
  .yui-form-label{
    width: auto;
    display: block;
    float: none;
    padding: 9px 0;
    text-align: left;
    color: #747474;
    font-size: 13px;
  }
  .yui-input-block{
    width: 100%;
    display: block;
    margin-left: 0;
  }
}


/*table*/
table {
  border-collapse: collapse;
  border-spacing: 0;
}
.yui-table {
  width: 100%;
  background-color: #fff;
}
.yui-table tr {
  transition: all .3s;
  -webkit-transition: all .3s
}

.yui-table thead tr {
  background-color: #f2f2f2
}

.yui-table th {
  text-align: left
}

.yui-table td,.yui-table th {
  padding: 9px 15px;
  min-height: 20px;
  line-height: 20px;
  border: 1px solid #e2e2e2;
  font-size: 14px
}

.yui-table tr:hover,.yui-table[lay-even] tr:nth-child(even) {
  background-color: #f8f8f8
}

.yui-table[lay-skin=line],.yui-table[lay-skin=row] {
  border: 1px solid #e2e2e2
}

.yui-table[lay-skin=line] td,.yui-table[lay-skin=line] th {
  border: none;
  border-bottom: 1px solid #e2e2e2
}

.yui-table[lay-skin=row] td,.yui-table[lay-skin=row] th {
  border: none;
  border-right: 1px solid #e2e2e2
}

.yui-table[lay-skin=nob] td,.yui-table[lay-skin=nob] th {
  border: none
}
/*upload*/
.yui-upload-button {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  min-width: 60px;
  height: 38px;
  line-height: 38px;
  border: 1px solid #DFDFDF;
  border-radius: 2px;
  overflow: hidden;
  background-color: #fff;
  color: #666
}

.yui-upload-button:hover {
  border: 1px solid #aaa;
  color: #333
}

.yui-upload-button:active {
  border: 1px solid #4CAF50;
  color: #000
}

.yui-upload-button input,.yui-upload-file {
  opacity: .01;
  filter: Alpha(opacity=1);
  cursor: pointer
}

.yui-upload-button input {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 10;
  font-size: 100px;
  width: 100%;
  height: 100%
}

.yui-upload-icon {
  display: block;
  margin: 0 15px;
  text-align: center
}

.yui-upload-icon i {
  margin-right: 5px;
  vertical-align: top;
  font-size: 12px;
  color: #5FB878
}

.yui-upload-iframe {
  position: absolute;
  width: 0;
  height: 0;
  border: 0;
  visibility: hidden
}

.yui-upload-enter {
  border: 1px solid #009E94;
  background-color: #009E94;
  color: #fff;
  -webkit-transform: scale(1.1);
  transform: scale(1.1)
}

.yui-upload-enter .yui-upload-icon,.yui-upload-enter .yui-upload-icon i {
  color: #fff
}
/*弹窗*/
.yui-modal{
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 15;
  overflow-y: auto;
  background-color: rgba(0,0,0,.5);
  &.active{
    display: block;
  }
  .yui-body{

    width: 90%;
    margin-left: -45%;
    position: fixed;
    z-index: 1001;
    top: 50%;
    left: 50%;
    text-align: left;
    border-radius: 5px;
    background-color: #fff;
    .icon-037{
      cursor: pointer;
      position: absolute;
      z-index: 1;
      opacity: .8;
      font-size: 18px;
      top: -31.5px;
      right: -31.5px;
      color: #fff;
    }
    .header{
      font-size: 18px;
      padding: 12px 12px;
    }
    .content{
      display: block;
      //height: 200px;
      position: relative;

      padding: 8px 12px;
      font-size: 18px;
      background-color: #F4F4F4;
    }
    .buttons{
      padding: 10px 20px;
      text-align: right;
      font-size: 14px;
    }
  }
}



/*diy*/
.main-content{
  height: 100%;
  position: relative;
  //margin-left: 84px;
  //margin-top: 50px;
  /*padding: 15px;*/
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;

  >div{
    margin-left: 84px;
    margin-top: 50px;
    width: 100%;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
  }
}
.container-side {
  float: left;
  width: 140px;
  height: 100%;
  border-right: 1px solid #ccc;
  background-color: #f7f7f7;
  position: fixed;
  top:50px;
  left: 84px;
  z-index: 2;
  >h1 {
    color: #585858;
    height: 50px;
    line-height: 50px;
    font-size: 16px;
    padding: 0 20px;
    border-bottom: 1px solid #ccc;
  }
  .nav-aside{
    ul{
      li{
        &.first {
          //border-top: 1px solid #e4e4e4;
        }
        &.yui-this {
          position: relative;
          a{
            //color: #47a6ff;
            color: #fff;
            background-color: #47a6ff;
            &:before {
              content: " ";
              display: block;
              position: absolute;
              top: -1px;
              left: 0;
              width: 4px;
              padding-top: 1px;
              //height: 100%;
              //background-color: #47a6ff;
            }
          }
        }
        a {
          line-height: 50px;
          height: 50px;
          display: block;
          padding-left: 26px;
          font-size: 14px;
          color: #333;
          //background-color: white;
          //border-bottom: 1px solid #e4e4e4;
        }
      }
    }
  }
}
.container-main{
  padding: 0 15px;
  margin-left: 140px;
  width: 100%;

  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  >div{
    width: 100%;
  }
  &.normal{
    margin-left: 0px;
  }
}

.panel-content{
  background: #fff;
  padding: 0 15px;
  margin: 0;
  border: none;
  padding-bottom: 15px;
  .head-title{
    line-height: 55px;
    border-bottom: 1px solid #e8ebee;
    font-weight: normal;
    font-size: 16px;
    margin: 0 -15px 0 -15px;
    padding-left: 15px;
  }
  .yui-tab-navigator{
    height: 55px;
    margin: 0 -15px;
    font-size: 16px;
    list-style: none;
    font-weight: normal;
    background-color: #fff;
    border-bottom: 1px solid #e8ebee;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
    display: block;
    li{
      float: left;
      height: 55px;
      line-height: 55px;
      padding: 0 15px;
      text-align: center;
      -webkit-box-sizing: border-box;
      -moz-box-sizing: border-box;
      -ms-box-sizing: border-box;
      box-sizing: border-box;
      -moz-border-radius: 0;
      -webkit-border-radius: 0;
      border-radius: 0;
      cursor: pointer;
      -webkit-transition: background, color 0.3s;
      -moz-transition: background, color 0.3s;
      -ms-transition: background, color 0.3s;
      -o-transition: background, color 0.3s;
      transition: background, color 0.3s;
      -moz-transition: background color .3s;
      -webkit-transition: background color .3s;
      transition: background color .3s;
      &.yui-this{
        cursor: default;
        position: relative;
        color: #108cee;
        border-bottom: 2px solid #108cee;
        a{
          color: #108cee;
        }
      }
    }
  }
  .operation-wrap {
    margin: 10px 0;
  }
}
.operation-wrap {
  margin: 10px 15px;
  background-color: #fff;
  position: relative;
  z-index: 10;
}

.article{
  .container-side{
    width: 240px;
  }
  .container-main {
    margin-left: 240px;
  }
}

.yui-func-box{
  section{
    &.head {
      height: 44px;
      padding: 0 20px;
      position: relative;
      border-width: 0 0 1px 0;
      border-style: solid;
      background-color: #f7f7f7;
      border-color: #e8e9ed;
      &:before {
        display: block;
        content: ' ';
        position: absolute;
        left: 0;
        margin-top: -9px;
        top: 50%;
        width: 4px;
        height: 18px;
        background-color: #47a6ff;
      }
      h2 {
        float: left;
        font-size: 18px;
        line-height: 44px;
        max-width: 356px;
        color: #383939;
      }
      a {
        float: right;
        line-height: 44px;
      }
    }
    &.content {
      padding: 20px;
      background-color: white;
    }
  }
}

.breadcrumb {
  height: 40px;
  display: block;
  background: none;
  margin: 0;
  padding: 0;
  line-height: 40px;
  span{
    color: #666;
  }
}


a.link {
  color: #47a6ff;
  text-decoration: none;
}
.f-tbset{
  position: absolute;
  top:0;
  right:0;
  .icon-012{
    display: none;
  }
  .icon-046{

  }
}
.f-tbfilter{
  .dn{
    display: none;
  }
  .cancel{
    color: #fff;
    background-color: red;
  }
  &:hover .f-tbset{
    .icon-012{
      display: block;
    }
  }
}
/*permisson*/
.yui-checkbox-group {
  margin-bottom: 8px;
}
.yui-col-3 {
  width: 25%;
  margin-right: 0;
  overflow: hidden;
  word-wrap: normal;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.field-list{
  min-height: 33px;
  margin: 8px 0;
}
.item-field {
  display: inline-block;
  margin: 8px;
  font-size: 12px;
}
.allMerchant{
  -webkit-flex-grow: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  .panel-head{
    margin-top: 10px;
    -webkit-flex-shrink: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
  }
  .panel-content{
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-grow: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  .yui-tab-navigator{
    width: 100%;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
  }
  .drop-body{
    width: 100%;
    padding-top: 15px;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-grow: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
  }
}









/*animation*/
@animation-time         : .3s;
@transition-time        : .2s;
@ease-in-out            : ease-in-out;
.motion-common() {
  animation-duration: @animation-time;
  animation-fill-mode: both;
}

.make-motion(@className, @keyframeName) {
  .@{className}-enter-active, .@{className}-appear {
    .motion-common();
    animation-play-state: paused;
  }
  .@{className}-leave-active {
    .motion-common();
    animation-play-state: paused;
  }
  .@{className}-enter-active, .@{className}-appear {
    animation-name: ~"@{keyframeName}In";
    animation-play-state: running;
  }
  .@{className}-leave-active {
    animation-name: ~"@{keyframeName}Out";
    animation-play-state: running;
  }
}

.slide-motion(@className, @keyframeName) {
  .make-motion(@className, @keyframeName);
  .@{className}-enter-active, .@{className}-appear {
    opacity: 0;
    animation-timing-function: @ease-in-out;
  }
  .@{className}-leave-active {
    animation-timing-function: @ease-in-out;
  }
}

.slide-motion(slide-up, yuiSlideUp);
//.slide-motion(slide-down, yuiSlideDown);
//.slide-motion(slide-left, yuiSlideLeft);
//.slide-motion(slide-right, yuiSlideRight);

@keyframes yuiSlideUpIn {
  0% {
    opacity: 0;
    transform-origin: 0% 0%;
    transform: scaleY(.8);
  }
  100% {
    opacity: 1;
    transform-origin: 0% 0%;
    transform: scaleY(1);
  }
}

@keyframes yuiSlideUpOut {
  0% {
    opacity: 1;
    transform-origin: 0% 0%;
    transform: scaleY(1);
  }
  100% {
    opacity: 0;
    transform-origin: 0% 0%;
    transform: scaleY(.8);
  }
}

@keyframes yuiSlideDownIn {
  0% {
    opacity: 0;
    transform-origin: 100% 100%;
    transform: scaleY(.8);
  }
  100% {
    opacity: 1;
    transform-origin: 100% 100%;
    transform: scaleY(1);
  }
}

@keyframes yuiSlideDownOut {
  0% {
    opacity: 1;
    transform-origin: 100% 100%;
    transform: scaleY(1);
  }
  100% {
    opacity: 0;
    transform-origin: 100% 100%;
    transform: scaleY(.8);
  }
}

@keyframes yuiSlideLeftIn {
  0% {
    opacity: 0;
    transform-origin: 0% 0%;
    transform: scaleX(.8);
  }
  100% {
    opacity: 1;
    transform-origin: 0% 0%;
    transform: scaleX(1);
  }
}

@keyframes yuiSlideLeftOut {
  0% {
    opacity: 1;
    transform-origin: 0% 0%;
    transform: scaleX(1);
  }
  100% {
    opacity: 0;
    transform-origin: 0% 0%;
    transform: scaleX(.8);
  }
}

@keyframes yuiSlideRightIn {
  0% {
    opacity: 0;
    transform-origin: 100% 0%;
    transform: scaleX(.8);
  }
  100% {
    opacity: 1;
    transform-origin: 100% 0%;
    transform: scaleX(1);
  }
}

@keyframes yuiSlideRightOut {
  0% {
    opacity: 1;
    transform-origin: 100% 0%;
    transform: scaleX(1);
  }
  100% {
    opacity: 0;
    transform-origin: 100% 0%;
    transform: scaleX(.8);
  }
}

.fade-enter-active, .fade-leave-active {
  transition: opacity .3s ease;
}
.fade-enter, .fade-leave-active {
  opacity: 0
}


/*header*/
header{
  width: 100%;
  padding: 0 20px 0 0;
  height: 50px;
  position: fixed;
  left:0;
  top:0;
  z-index: 10;
  background: #fff;
  border-bottom:1px solid #e9ebf0;
  box-shadow: 0 1px 2px #e9ebf0;
  .logo{
    width: 84px;
    height: 100%;
    float: left;
    background: #fff;
    img{
      /*height: 50px;*/
      height: 30px;
      margin-top: 10px;
    }
  }
  .nav,.nav li{
    height: 100%;
  }
  .linklist{
    float:left;
    li{
      float: left;
      &.active,&:hover{
        a{
          color: #fff;
          background: #47a6ff;
        }
      }
    }
    a{
      padding: 0 20px;
      height: 50px;
      line-height: 50px;
      display: block;
      color: #000;

    }
  }
  .header-user{
    position: relative;
    color: #000;
    .userinfo{
      height: 50px;
      line-height: 50px;
    }
    .f-avatar {
      width: 26px;
      height: 26px;
      margin-top: 10px;
      border-radius: 50px;
      vertical-align: top;
    }
    &:hover{
      .menu{
        display: block;
      }
    }
    .menu {
      display: none;
      width: 100%;
      padding: 8px 0;
      position: absolute;
      top: 45px;
      left: -2px;
      z-index: 11;
      background: #ffffff;
      overflow: hidden;
      border: 1px solid #e9ebf0;
      border-radius: 2px;
      /*box-shadow: 0 2px 4px #e9ebf0;*/
      a{
        display: block;
        padding: 0 16px;
        line-height: 29px;
        cursor:pointer;
        &:hover{
          background-color: #f7faff;
        }
      }
    }
  }
}
/*side*/
.master-siderbar{
  width: 84px;
  position: fixed;
  top: 50px;
  bottom: 0;
  left: 0;
  height: 100%;
  z-index: 100;
  transition-duration: .3s;
  background: #293542;
  li {
    width: 100%;
    text-align: center;
    &:hover ,&.active ,&.router-link-active {
      a,.icon{
        //background: #47a6ff;
        color: #47a6ff;
      }
    }
    a {
      padding: 10px 0;
      display: block;
      font-size: 0;
      position: relative;
      vertical-align: middle;
      white-space: nowrap;
      color: #fff;
    }
    .icon{
      display: block;
      vertical-align: middle;
      color: #fff;
      font-size: 22px;
    }
    .nav-title{
      display: block;
      line-height: 30px;
      vertical-align: middle;
      font-size: 14px;
    }
  }
}
/*common*/

.yui-btns .btn {
  margin: 0 7px 10px 0;
}

/*master*/
#master {
  height: 100%;
  /*background: #f2f5fa;*/
  /*background: #fff;*/
  &:before {
    width: 100%;
    height: 100%;
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    background: #f2f5fa;
  }
}
.master-siderbar{
  width: 84px;
  position: fixed;
  top: 50px;
  bottom: 0;
  left: 0;
  height: 100%;
  transition-duration: .3s;
  background: #293542;
  li {
    width: 100%;
    text-align: center;
    &:hover ,&.active ,&.router-link-active {
      a,.icon{
        //background: #47a6ff;
        color: #47a6ff;
      }
    }
    a {
      padding: 10px 0;
      display: block;
      font-size: 0;
      position: relative;
      vertical-align: middle;
      white-space: nowrap;
      color: #fff;
    }
    .icon{
      display: block;
      vertical-align: middle;
      color: #fff;
      font-size: 22px;
    }
    .nav-title{
      display: block;
      line-height: 30px;
      vertical-align: middle;
      font-size: 14px;
    }
  }
}

.newArticle{

  .container-main{
    padding: 0;
  }
  .markdown-main{
    width: 100%;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
  }
  .markdown-edit{
    border-left: #dfe1e3 1px solid;
  }
  .markdown-edit,.markdown-preview{
    position: relative;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  .markdown-edit{width: 70%;}
  .markdown-preview{
    width: 30%;
    background: #fff;
  }
}
.entry-markdown-content{
  position: relative;
  -webkit-flex-grow: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
}
.markdown-editor{
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  padding: 21px 20px 36px 20px;
  max-width: 100%;
  height: 100%;
  border: 0;
  color: rgb(61, 64, 67);
  font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
  font-size: 1.6rem;
  line-height: 2.5rem;
  resize: none;
  background: #f2f5fa;
}
.content-preview{
  width: 100%;
  margin-top: 15px;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}